/*
 * Globals
 */

body {
  font-family: "微软雅黑",Georgia, "Times New Roman", Times, serif;
  color: #555;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin-top: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #333;
}


/*
 * Override Bootstrap's default container.
 */

@media (min-width: 1200px) {
  .container {
    width: 1180px;
  }
}


/*
 * Masthead for nav
 */

.blog-masthead {
  background-color: #428bca;
  -webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
          box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
}

/* Nav links */
.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #cdddeb;
}
.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #fff;
  text-decoration: none;
}

/* Active state gets a caret at the bottom */
.blog-nav .active {
  color: #fff;
}
.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}


/*
 * Blog name and description
 */

.blog-header {
  padding-top: 30px;
  padding-bottom: -5px;
}
.blog-title {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 30px;
  font-weight: normal;
  font-family: "微软雅黑"
}
.blog-description {
  font-size: 20px;
  color: #999;
}


/*
 * Main column and sidebar layout
 */

.blog-main {
  font-size: 15px;
  line-height: 1.5;
}

/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}
.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}

/* Pagination */
/* .pager {
  margin-bottom: 60px;
  text-align: center;
}
.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
} */

/*
 * Blog list title
 */
.blog-list-title{
  font-size: 15px;
  font-weight: bold;
  border-bottom: 1px solid #E5E5E5;
  padding-bottom: 10px;
  padding-top: 5px;
}
 
/*
 * Blog posts
 */
.blog-post {
  margin-bottom: 30px;
}

.blog-post-title {
  margin-bottom: 8px;
  font-size: 25px;
}

.blog-post-meta {
  color: #999;
  display:block;
  line-height: 18px;
  float: right;
  font-size: 14px;
}

.blog-post ul {
  list-style-type: none;
  padding-left: 15px;
}

.blog-post .img {
	display: block;
	clear: both;
}

.blog-post img {
  padding: 10px;
  padding-left: 3px;
  max-height: 150px;
  max-width: 233px;
  padding-top: 10px;
}

.blog-post .summary{
  word-break: normal; 
  width: auto; 
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow: hidden;
  display: block; 
  font-family: Verdana, Arial, Helvetica, sans-serif;
  line-height: 19.5px;
  padding-top: 5px;
  font-size: 15px;
}

.blog-post hr {
  border: none; 
  border-top: 1px dashed gray; 
  padding-bottom: 5px;
}

/*
 * Blog view
 */
.blog-view hr {
  border: none; 
  border-top: 1px dashed gray; 
  padding-bottom: 5px;
} 

.blog-view-title {
  margin-top: 20px;
  text-align: center;
}

.blog-view-share {
  padding-left: 290px;
  padding-bottom: 20px;
  padding-top: 10px;
}

.blog-view-info {
  text-align: center;
  font-size: 13px;
}

.blog-view-content {
  margin-top: 20px;
  padding-bottom: 30px;	
}

/*
 * 代码框自适应
 */ 
.syntaxhighlighter {
  table-layout: fixed;
}

.syntaxhighlighter td.gutter {
  width: 30px !important;
}

td.code div.container {
  overflow-x: auto !important;
}

td.code div.container div.line {
  white-space: nowrap;
}

.blog-view-content img {
	max-width: 100%;
}

.blog-view .blog-view-commentDatas {
  padding: 10px;
}

.blog-view .blog-view-commentDatas .blog-view-comment {
  margin-top: 8px;
  margin-bottom: 3px;
  padding-bottom:12px;
  border-bottom: 1px dotted gray;
}

.blog-view .blog-view-commentDatas .blog-view-comment font,.blog-view .blog-view-commentDatas .blog-view-otherComment font {
  font-size: 13px;
}

.blog-view .blog-view-commentDatas .blog-view-otherComment {
  margin-top: 8px;
  margin-bottom: 3px;
  padding-bottom:12px;
  border-bottom: 1px dotted gray;
  display: none;
}

.blog-view .commentDate {
  text-align: right;
}

.blog-view .publish-comment {
  padding-top: 10px;
  padding-bottom: 10px;
}

.blog-view .publish-comment .comment-content {
  margin: 5px;
}

.blog-view .publish-comment .comment-content textarea{
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.blog-view .publish-comment .publish-btn {
  float: right;
}

.blog-view .publish-comment .publish-btn .btn{
  height: 28px;
}

.blog-view .verCode {
  padding: 15px;
  margin-top: 5px;
}

.blog-view .verCode img {
  margin-bottom: 4px;
}
/*
 * blog-search 
 */
.blog-search ul {
  list-style-type: none;
  padding-left: 15px;
}

.blog-search .summary {
  word-break: normal; 
  width: auto; 
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow: hidden;
  display: block; 
  font-family: Verdana, Arial, Helvetica, sans-serif;
  line-height: 19.5px;
  padding-top: 5px;
  font-size: 15px;
}

.blog-search .link a {
    color: #008400;
}


/*
 * Footer
 */
.blog-footer {
  padding: 20px 0;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
  margin-top: 40px;
}

.blog-footer p:last-child {
  margin-bottom: 0;
}

.page {
  text-align: center;
}

.pagination {
  margin-top: 0;
}

